Click here to Skip to main content
15,908,115 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ abt buttons Pin
David Crow3-Feb-05 2:51
David Crow3-Feb-05 2:51 
GeneralRe: VC++ abt buttons Pin
Ravi Bhavnani3-Feb-05 7:46
professionalRavi Bhavnani3-Feb-05 7:46 
GeneralRe: VC++ abt buttons Pin
Tripura.K3-Feb-05 22:26
Tripura.K3-Feb-05 22:26 
GeneralDriver architecture advice needed Pin
@Work3-Feb-05 1:48
@Work3-Feb-05 1:48 
GeneralRe: Driver architecture advice needed Pin
Antti Keskinen3-Feb-05 3:44
Antti Keskinen3-Feb-05 3:44 
GeneralRe: Driver architecture advice needed Pin
Geert van Horrik3-Feb-05 20:41
Geert van Horrik3-Feb-05 20:41 
GeneralRe: Driver architecture advice needed Pin
Antti Keskinen3-Feb-05 23:14
Antti Keskinen3-Feb-05 23:14 
GeneralRe: Driver architecture advice needed Pin
Geert van Horrik3-Feb-05 23:23
Geert van Horrik3-Feb-05 23:23 
Thanks a lot for your answer!

There are some other things I need with this "driver". Users should be able to call the dll from visual basic, visual basic.net, c# and c++. That is the reason why some people said I have to use COM.

The first thing I did was develop a usefull architecture for the driver. This is done in UML. But because I normally develop applications using OO, I also designed the driver that way. I wanted the user to be able to call a connection like this:
MyObject->GetPLCConnection(index)->Connect();

But visual basic is not made for OO Frown | :(

Now, I am thinking of this:
1 COM object to communication with the PLC (for single connection). 1 COM object to hold all the connections the user wants.

But then there is one problem left. How do I call functions from the collection COM to the connection COM.

I hope it's clear what I mean...

Thanks a lot so far for your time!

Geert

[url]http://geert.yoki.org[/]
GeneralRe: Driver architecture advice needed Pin
Antti Keskinen3-Feb-05 23:48
Antti Keskinen3-Feb-05 23:48 
GeneralRe: Driver architecture advice needed Pin
Geert van Horrik4-Feb-05 0:01
Geert van Horrik4-Feb-05 0:01 
GeneralRe: Driver architecture advice needed Pin
Antti Keskinen4-Feb-05 1:05
Antti Keskinen4-Feb-05 1:05 
GeneralRe: Driver architecture advice needed Pin
Geert van Horrik4-Feb-05 1:15
Geert van Horrik4-Feb-05 1:15 
GeneralCharting Pin
_Tom_3-Feb-05 1:24
_Tom_3-Feb-05 1:24 
GeneralRe: Charting Pin
David Crow3-Feb-05 3:47
David Crow3-Feb-05 3:47 
GeneralRe: Charting Pin
krmed3-Feb-05 6:51
krmed3-Feb-05 6:51 
GeneralGet system properies at runtime Pin
Member 16603853-Feb-05 1:13
Member 16603853-Feb-05 1:13 
GeneralRe: Get system properies at runtime Pin
David Crow3-Feb-05 2:54
David Crow3-Feb-05 2:54 
Generalabt keyboard Pin
Anonymous3-Feb-05 1:13
Anonymous3-Feb-05 1:13 
GeneralRe: abt keyboard Pin
Mike Dimmick3-Feb-05 2:43
Mike Dimmick3-Feb-05 2:43 
QuestionChanging Source IP ? Pin
Adnan5623-Feb-05 0:56
Adnan5623-Feb-05 0:56 
AnswerRe: Changing Source IP ? Pin
Antony M Kancidrowski3-Feb-05 1:13
Antony M Kancidrowski3-Feb-05 1:13 
GeneralApply different themes to single application Pin
ledallam2-Feb-05 23:39
ledallam2-Feb-05 23:39 
GeneralRe: Apply different themes to single application Pin
Antti Keskinen3-Feb-05 4:04
Antti Keskinen3-Feb-05 4:04 
GeneralNon blocking MFC Dll Pin
lmfernandez2-Feb-05 23:38
lmfernandez2-Feb-05 23:38 
GeneralRe: Non blocking MFC Dll Pin
Antony M Kancidrowski3-Feb-05 1:07
Antony M Kancidrowski3-Feb-05 1:07 

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.