If you are dealing with one PCI card, is there a way (from within a
dll) to find out which PCI slot that card is inhabiting (1 or 2 or 6,
etc.)? It doesn't matter if the solution is MFC, or straight C++/C,
just has to be on a Windows machine. 10 2549 st*******@gmail .com wrote: If you are dealing with one PCI card, is there a way (from within a dll) to find out which PCI slot that card is inhabiting (1 or 2 or 6, etc.)? It doesn't matter if the solution is MFC, or straight C++/C, just has to be on a Windows machine.
Not without Windows specific calls, and that's off topic here.
Ben Pope
--
I'm not just a number. To many, I'm known as a string...
I don't suppose you happen to know what those are do you? st*******@gmail .com wrote: I don't suppose you happen to know what those are do you?
What part of "off-topic" is unclear to you?
How does your post pertain to this topic at all? Victor, Did you have
a suggestion on how to do this in C++? If not, why post? My original
post states it doesn't matter if it is an MFC solution.
This is a C++ question which is on-topic. I did post this in a Windows
forum as well looking for the Windows call. Since Ben knows there are
windows call to accomplish this task, I thought he could save me a lot
of time by just telling me what they are. This way I could tear the
Windows calls apart since I would actually prefer a C++ solution.
This is a C++ forum and I have a C++ question, so stop saying its
Off-Topic. An MFC solution may be, but again, I do not require one.
So does anyone else have any C++ related suggestions? If not, please
don't post and waste mine or your time. st*******@gmail .com wrote: How does your post pertain to this topic at all? Victor, Did you have a suggestion on how to do this in C++? If not, why post? My original post states it doesn't matter if it is an MFC solution.
I said it cannot be done without Windows specific extensions. This
group is about C++ language only.
This is a C++ question which is on-topic.
It is not on topic, it cannot be done with C++ alone.
I did post this in a Windows forum as well looking for the Windows call.
multiposting rather than cross-posting is generally considered rude on
usenet. It wastes time in duplicated effort.
Since Ben knows there are windows call to accomplish this task, I thought he could save me a lot of time by just telling me what they are.
I do not know that there *are* Windows calls, I can only speculate that
there may be, and that they would be Windows specific. This is only one
problem of posting to the wrong group - simply that we do not and cannot
know the extent of every possible external library.
This way I could tear the Windows calls apart since I would actually prefer a C++ solution.
There is no C++ solution. It is specific to the operating system, be
that Windows, Linux, DOS, or something else. C++ does not have access
to this information directly.
This is a C++ forum and I have a C++ question,
This is a C++ _language_ group, you do not have a C++ _language_
question, as I said in my first reply.
so stop saying its Off-Topic.
It is off topic.
An MFC solution may be, but again, I do not require one.
You require an OS specific solution, as I said in my first reply.
So does anyone else have any C++ related suggestions?
I think I've already mentioned that this cannot be done in C++, without
additional, OS specific libraries.
If not, please don't post and waste mine or your time.
You do not have a C++ question, so stop posting and wasting *our* time.
I have already told you that your question is off topic. What part of
off topic do you not understand?
Ben Pope
--
I'm not just a number. To many, I'm known as a string...
On 9 Mar 2006 08:41:56 -0800 st*******@gmail .com waved a wand and this
message magically appeared: So does anyone else have any C++ related suggestions? If not, please don't post and waste mine or your time.
*PLONK*
I suggest others do the same.
-- http://www.munted.org.uk
"Honestly, what can I possibly say to get you into my bed?" - Anon. st*******@gmail .com wrote: How does your post pertain to this topic at all?
My post pertain to this topic and to any other topic because it is related
to the _topicality_ of this newsgroup. Post on topicality are _always_
on topic.
Victor, Did you have a suggestion on how to do this in C++? If not, why post?
Because you seem to have a misunderstandin g on where to post.
My original post states it doesn't matter if it is an MFC solution.
MFC is off-topic here _as_well_.
This is a C++ question which is on-topic.
You've received one answer from Ben, you've also received one answer from
me to your duplicate post. There is *no* solution for your problem in the
C++ _language_. Can you get *that* into your head? C++ _language_ does
*not* have any means to manipulate or control or query *hardware*. None.
Whatsoever. Any solution is platform- or OS-specific. And insisting on
discussing those _here_ is bad manner. OS- and platform-specific things
are _off-topic_ in comp.lang.c++.
I did post this in a Windows forum as well looking for the Windows call. Since Ben knows there are windows call to accomplish this task, I thought he could save me a lot of time by just telling me what they are.
Sure he could. Only *not here*. Windows API is off-topic here.
This way I could tear the Windows calls apart since I would actually prefer a C++ solution.
There is *no* C++ solution. There _cannot_ be a C++ solution.
This is a C++ forum and I have a C++ question, so stop saying its Off-Topic.
You *don't* have a C++ question. You have a PCI question. If you do not
understand the difference, I am sorry, but it's not my problem, is it?
An MFC solution may be, but again, I do not require one.
So does anyone else have any C++ related suggestions? If not, please don't post and waste mine or your time.
Read the Welcome message, read the FAQ, _before_ posting. Understand the
topicality of the newsgroup and try to contain your attitude.
V
--
Please remove capital As from my address when replying by mail
This forum should be called "comp.lang. c++ just as long as you don't
ask any questions about anything in specific".
Ben - Thanks for trying to help.
Victor - If you don't have any suggestions or ideas pertaining
*directly* to the original post or a comment, don't waste everyone's
time by posting garbage trying to make other people look dumb. It is a
complete waste of time and should never be done.
With that said, I am never going to look at this post again. st*******@gmail .com wrote: This forum should be called "comp.lang. c++ just as long as you don't ask any questions about anything in specific".
Ben - Thanks for trying to help. Victor - If you don't have any suggestions or ideas pertaining *directly* to the original post or a comment, don't waste everyone's time by posting garbage trying to make other people look dumb. It is a complete waste of time and should never be done.
Well, that's good, because I won't ever see any of yours.
*plonk*
Brian This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: sam1967 |
last post by:
I know how to build forms with ASP and process user input.
Now i want to take credit card payments via a form.
i will then download the details and process them via our credit card
machine.
do i just create a regular ASP form and use a certificate on the
server to encrypt the data ? ie https://server/getpaymentform.asp
there is nothing special about the form is there ?
it is just the same as the form i have been using for user input.
|
by: Mark |
last post by:
We have a particular software project where a minority of the
function calls are taking up a majority of the cpu time.
(they do a lot of geometric, trig and other functions related
to vectors corresponding to tracks in 3d space)
We think there's not much more that can be done to speed
these functions up on the computer we have (or can have).
The question is, aren't there available now hardware cards
that you can load with particular...
|
by: shane.tietjen |
last post by:
If you are dealing with one PCI card, is there a way (from within a
dll) to find out which PCI slot that card is inhabiting (1 or 2 or 6,
etc.)? It doesn't matter if the solution is MFC, or straight C++/C,
just has to be on a Windows machine.
Thanks in advance.
|
by: Fred B |
last post by:
I am launching a new thread from my application's main process (using VB.net
2003), and I can't get the child to receive the parameter I'm attempting to
send it in a named data slot.
The code for launching the thread:
Dim NewThread As New Thread(AddressOf LaunchCommThread)
NewThread.AllocateNamedDataSlot("Offset")
NewThread.IsBackground = True
NewThread.Name = SIMclass.SIM(1).strCtrlDesignator
|
by: sallyk07 |
last post by:
The question says: Design and implement a class called Card that represents a standard playing card. Each card has a suit and a face value. Create a program that deals 20 random cards.
this is the card class i made but i dont know if it right...i also don't know how to creatre a program that deals random cards.
public class Card
{
public final static int spades = 0,hearts = 1, diamonds = 2, clubs = 3;
public final...
| |
by: JNeko |
last post by:
Hello all, awesome site! I guess I am technically not a beginner in JAVA, but from my code you would not realize it! I don’t expect anyone to help me with this, but I figure I might as well as try and ask. Any help is really appreciated; this should be a piece of cake…driving me crazy.
I am writing a simple program (from a book for fun) that creates a deck of cards, shuffles them, gives the user a card, and asks if the next card will be...
|
by: Tracid83 |
last post by:
hi,
I use wmi to get slot information from remote computer.I want to know
the name of the device connected on the specific slot.
Thanks for your help
Tracid
|
by: Carnell, James E |
last post by:
I am thinking about purchasing a book, but wanted to make sure I could
get through the code that implements what the book is about (Artificial
Intelligence a Modern Approach). Anyway, I'm not a very good programmer
and OOP is still sinking in, so please don't answer my questions like I
really know anything.
MY QUESTION:
What is a slot? In class Object below the __init__ has a slot. Note:
The slot makes use of a data object called...
|
by: dirtysouth6975 |
last post by:
I need some help. I am getting an error of: local function definitions are illegal. What does this mean? Can anybody help me out a little? Thank you.
//Specification: This program simulates a three
//wheeled slot machine. Each wheel will randomly
//display three numbers. When the numbers on the
//wheels match the user is award points. The Slot
//machine requires the user to enter tokens to play.
#include <iostream>
#include <ctime> ...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |