[C++]Eksportowanie z biblioteki DLL...

0

Cze! Mam taki problem w bibliotece DLL tworze sobie strukture:
Kod:

struct Kont
{
    int x=10;
    int y=12;
    int dl-30;
    int szer=20;
           
} kon;

i tworze sobie moj program w czytuje do niego biblioteke DLL i tworze sobie kontrolke EDIT:
Kod:

HWND hEdit =  CreateWindowEx(WS_EX_CLIENTEDGE,"EDIT","",WS_CHILD | WS_VISIBLE, kon.x,kon.y,kon.dl,kon.szer, hWnd, (HMENU)100, hInstance, NULL);

i przy kompilaci wyswietla mi błąd:
kon.x undeclared (first use this function)
kon.y undeclared (first use this function)
kon.dl undeclared (first use this function)
kon.szer undeclared (first use this function)

co ja zle robie ?? moze mi ktos powiedziec jak exportowac strukture i zmnienne do mojego programu z biblioteki DLL??

PS: Jak exportuje funkcje to ona dziala

1 użytkowników online, w tym zalogowanych: 0, gości: 1