Click here to Skip to main content
15,916,432 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a question about createprocess Pin
Selvam R6-Jan-04 19:19
professionalSelvam R6-Jan-04 19:19 
GeneralRe: a question about createprocess Pin
Anonymous7-Jan-04 6:19
Anonymous7-Jan-04 6:19 
GeneralRe: a question about createprocess Pin
David Crow7-Jan-04 6:44
David Crow7-Jan-04 6:44 
GeneralRe: a question about createprocess Pin
cchere7-Jan-04 9:41
cchere7-Jan-04 9:41 
GeneralRe: a question about createprocess Pin
David Crow7-Jan-04 9:45
David Crow7-Jan-04 9:45 
GeneralRe: a question about createprocess Pin
cchere7-Jan-04 10:36
cchere7-Jan-04 10:36 
GeneralRe: a question about createprocess Pin
David Crow7-Jan-04 2:54
David Crow7-Jan-04 2:54 
GeneralRe: a question about createprocess Pin
Anonymous7-Jan-04 6:10
Anonymous7-Jan-04 6:10 
GeneralPrinting Bitmaps Pin
GESY6-Jan-04 15:44
GESY6-Jan-04 15:44 
GeneralCan't import my dll functions Pin
benwestgarth6-Jan-04 15:33
benwestgarth6-Jan-04 15:33 
GeneralRe: Can't import my dll functions Pin
Anonymous6-Jan-04 15:54
Anonymous6-Jan-04 15:54 
GeneralCustom Timeline Pin
rotu6-Jan-04 14:34
rotu6-Jan-04 14:34 
GeneralChanging source url for web service Pin
Boris Russel6-Jan-04 12:58
Boris Russel6-Jan-04 12:58 
GeneralNevermind <slap self> Pin
Boris Russel6-Jan-04 13:12
Boris Russel6-Jan-04 13:12 
GeneralMinimizing window Pin
Anonymous6-Jan-04 12:16
Anonymous6-Jan-04 12:16 
GeneralRe: Minimizing window Pin
PJ Arends6-Jan-04 12:38
professionalPJ Arends6-Jan-04 12:38 
GeneralCFileDialog sorting/settings Pin
MaxHacker6-Jan-04 11:54
MaxHacker6-Jan-04 11:54 
GeneralRe: CFileDialog sorting/settings Pin
David Crow7-Jan-04 2:59
David Crow7-Jan-04 2:59 
GeneralRe: CFileDialog sorting/settings Pin
MaxHacker7-Jan-04 3:34
MaxHacker7-Jan-04 3:34 
GeneralRe: CFileDialog sorting/settings Pin
David Crow7-Jan-04 3:56
David Crow7-Jan-04 3:56 
Generaltrinking iterface calls mscc++ 2 g++ Pin
suiram406-Jan-04 11:39
suiram406-Jan-04 11:39 
I have interfaces definitions.
I have implemented them in dll's
These dll's worked as cutom plugins. Usually they were build by msvc.
Each dll exported 3 function, GetIterfacesCLSIDS()/Create(CLSID)/Destroy(CLSID). It woked superb when both (client, plug in were buld by msvc compiler)
or both with mingw compiler.
The client now has growned and I'm using massive MFC (has lot's of gui and u knw is easy).

Now I try to build the dll's on demand (as compiled script)
and I use free gcc (g++) from (Mingw) C++ compiler and dlltool.
The dll is oj, and exported functions are called and my instances created ok.
Now I get 'ESP was not saved corectly durring a ... see the call type'
So is not the call type. As long the object imlementor of the interface is created my dll and the virtual table layout is different than the msvc.

Msvc vtable is
PObject->PVtable->[Vf1][Vf2]..[Vfk]
while

mingw vtable is
PObject->[Vf1][Vf2]..[Vfk]


So there is a missing intermdiare [PVtable] pointer there. Does any one know how to hack the calls using trunks or __asm (back and forward)
these ? ThanksCry | :((


GeneralRe: trinking iterface calls mscc++ 2 g++ Pin
suiram406-Jan-04 12:21
suiram406-Jan-04 12:21 
GeneralAnother question...MFC this time! Pin
Alberto836-Jan-04 11:35
Alberto836-Jan-04 11:35 
GeneralRe: Another question...MFC this time! Pin
Anonymous6-Jan-04 11:47
Anonymous6-Jan-04 11:47 
GeneralRe: Another question...MFC this time! Pin
Alberto836-Jan-04 20:32
Alberto836-Jan-04 20:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.